package Offer2018;

/**
 * 单例模式 静态内部类
 * Created by 雷文康 on 2018/3/3.
 */
public class Test02b {

    private static class innerClass{
        private static Test02b instance = new Test02b();
    }

    private Test02b(){

    }

    public static Test02b getInstance(){
        return innerClass.instance;
    }
}
